package com.weipai.education.dao;

import com.weipai.education.model.Role;

import java.util.List;
import java.util.Map;

/**
 * @Author: 曹朋飞
 * @Date: 2018/12/11 15:24
 */
public interface RoleDao {
    
    List<Map<String,Object>> list(String status);

    int update(Role role);

    int insert(Role role);

    int deleteById(String id);

    Role selectByPrimaryKey(String id);

    Role getRoleById(Integer roleId);

    
}
